<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.kfc.platform.transaction.domain.TradeList"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'welcome.jsp' starting page</title>
       

  </head>
  
  <body>
   <h1>欢迎${u.username }光临！  </h1><br>
<table border="1" cellpadding="5" cellspacing="0">
<tr>

                 <td bagcolor=cyan>委单号</td>
			    <td bagcolor=cyan>下单时间</td>
                <td bagcolor=cyan>类型</td>
                <td bagcolor=cyan>价格</td>
                <td bagcolor=cyan>委单量</td>
                <td bagcolor=cyan>交易状态</td>
                </tr>
                <c:if test="${!empty info }">
			    <c:forEach items="${info }" var="u">
                <tr>
                <td>${u.listnum}</td>
                <td>${u.trade_date}</td>
                <td>${u.type}</td>
                <td>${u.price}</td>
                <td>${u.amount}</td>
                <td>${u.status}</td>
                </tr>
                </c:forEach>
			    </c:if>
</table>
  </body>
</html>